<?php

class person {

    private $nameuser;
    private $lastname;
    private $doctype;
    private $docnum;
    private $mail;
    private $passwd;
    private $address;
    private $phone;
    private $rolperson;

    public function __construct() {
        $this->nameuser = '';
        $this->lastname = '';
        $this->doctype = '';
        $this->docnum = 0;
        $this->mail = '';
        $this->passwd = '';
        $this->address = '';
        $this->phone = 0;
        $this->rolperson = -1;
    }

    public function getNameuser() {
        return $this->nameuser;
    }

    public function setNameuser($nameuser) {
        $this->nameuser = $nameuser;
    }

    public function getLastname() {
        return $this->lastname;
    }

    public function setLastname($lastname) {
        $this->lastname = $lastname;
    }

    public function getDoctype() {
        return $this->doctype;
    }

    public function setDoctype($doctype) {
        $this->doctype = $doctype;
    }

    public function getDocnum() {
        return $this->docnum;
    }

    public function setDocnum($docnum) {
        $this->docnum = $docnum;
    }

    public function getMail() {
        return $this->mail;
    }

    public function setMail($mail) {
        $this->mail = $mail;
    }

    public function getPasswd() {
        return $this->passwd;
    }

    public function setPasswd($passwd) {
        $this->passwd = $passwd;
    }

    public function getAddress() {
        return $this->address;
    }

    public function setAddress($address) {
        $this->address = $address;
    }

    public function getPhone() {
        return $this->phone;
    }

    public function setPhone($phone) {
        $this->phone = $phone;
    }

    public function getRolperson() {
        return $this->rolperson;
    }

    public function setRolperson($rolperson) {
        $this->rolperson = $rolperson;
    }

}

?>
